<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script type="text/javascript">
    // 传入三个值，返回三个值中的最大值
    function f1(t1, t2, t3) {
        // 传入三个值，返回三个值中的最大值
        let tmp = null;
        if(t1 > t2){
            tmp = t2;
        }

        if(tmp < t3){
            tmp = t3;
        }
        return t3;
    }
</script>
</body>
</html>